﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="MonHoc.aspx.cs" Inherits="proRFID_DiemDanh.MonHoc.MonHoc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="CssMonHoc.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:700px">
        <legend>Danh sách môn học</legend>
        <table align="center">
            <tr>
                <td>
                <table class="border" align="center">
                    <tr>
                        <th width="80px">Mã Môn</th>
                        <th width="350px">Tên Môn</th>
                        <th width="10px">Sửa</th>
                        <th width="10px">Xóa</th>
                    </tr>
                    <asp:Repeater ID="Rpt_MonHoc" runat="server">
            <ItemTemplate>
                    <tr>
                            <td align="center"><%#Eval("MAMH") %></td>
                            <td align="center"><%#Eval("TENMH") %></td>
                            <td align="center"><a href="SuaMonHoc.aspx?ID=<%#Eval("MAMH") %>"><img src="../Chung/img/edit.png" width="15px"/></a></td>
                            <td align="center"><input type=checkbox name="chon" value="<%#Eval("MAMH") %>"</td>
                    </tr>
            </ItemTemplate>
            </asp:Repeater>
                </table>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbThongBao" runat="server" CssClass="Thongbao"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <asp:ImageButton ID="Imgcmd_ThemMH" runat="server" ImageUrl="~/Chung/img/add.png" 
                        CssClass="nutnhan" onclick="Imgcmd_ThemMH_Click" />
                    <asp:ImageButton ID="Imgcmd_XoaMH" runat="server" ImageUrl="~/Chung/img/delete.png" 
                        CssClass="nutnhan" onclick="Imgcmd_XoaMH_Click" />
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
